package com.example.navigation.fragment

import android.view.View
import androidx.navigation.fragment.findNavController
import com.example.navigation.R
import com.example.navigation.base.BaseFragment
import kotlinx.android.synthetic.main.fragment_avatar_verify.view.*

/**
 * @author Liyg
 * @description:头像验证页面
 * @date :2020/12/7
 */
class AvatarVerifyFragment : BaseFragment(){
    override fun getLayoutResId(): Int {
        return R.layout.fragment_avatar_verify
    }

    override fun initView(rootView: View) {
        super.initView(rootView)
        //验证完成，直接跳回登陆页面
        rootView.avatarVerifyBtn.setOnClickListener {
            findNavController().navigate(R.id.to_login_fragment)
        }
    }

}